-- GENERATED SPELL FOR [Risen Wintergarde Miner] --


function spell0_27401(pUnit, Event) --@Puncture Wound,n/a--
pUnit:FullCastSpellOnTarget(48374,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27401', 5000, 1)
end

function Sorts_27401(pUnit, Event)
local choix_sorts_27401 = math.random(0, 0)
if choix_sorts_27401 == 0 then
pUnit:RegisterEvent('spell0_27401', 1, 1)
end
end

function mob27401_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27401', math.random(1500, 3000), 1)
end

function mob27401_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27401_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27401_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27401, 1, 'mob27401_Action')
RegisterUnitEvent(27401, 2, 'mob27401_Leave')
RegisterUnitEvent(27401, 3, 'mob27401_Kill')
RegisterUnitEvent(27401, 4, 'mob27401_Die')
